package per.dj.testpro.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import per.dj.testpro.model.TransRecordInfo;

@Mapper
@Component
public interface TransRecordInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TransRecordInfo record);

    int insertSelective(TransRecordInfo record);

    TransRecordInfo selectByPrimaryKey(Integer id);

    //获取订单信息
    TransRecordInfo getTransRecordInfo(@Param("userId")int userId , @Param("imeiNo")String imeiNo, @Param("portNo")int portNo, @Param("transFlag")int transFlag, @Param("state")int state);

    int updateByPrimaryKeySelective(TransRecordInfo record);

    int updateByPrimaryKey(TransRecordInfo record);
}